cask 'tenor' do
  version '2.0.5'
  sha256 '017a57846ef84ca61268b33a20ec8cf16ac15fc1d520077b76bd498b58cd84fd'

  # media.tenor.co/mac/bin/ was verified as official when first introduced to the cask
  url 'https://media.tenor.co/mac/bin/GIFforMac.dmg'
  appcast 'https://media.tenor.co/mac/gif_for_mac_appcast.xml'
  name 'Tenor'
  homepage 'https://tenor.com/mac'

  depends_on macos: '>= :el_capitan'

  app 'Tenor.app'

  uninstall quit: 'com.riffsy.GIF-for-Mac'
end
